package com.example.transaction.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;


@TableName("itemImage")
public class ItemImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "itemImageID", type = IdType.AUTO)
    private Integer itemImageID;
    @TableField(value = "itemID")
    private Integer itemID;

    @TableField(value = "itemImageURL")
    private String itemImageURL;

    @TableField(value = "deleted")
    private Integer deleted;

    public Integer getItemImageID() {
        return itemImageID;
    }

    public void setItemImageID(Integer itemImageID) {
        this.itemImageID = itemImageID;
    }

    public Integer getItemID() {
        return itemID;
    }

    public void setItemID(Integer itemID) {
        this.itemID = itemID;
    }

    public String getItemImageURL() {
        return itemImageURL;
    }

    public void setItemImageURL(String itemImageURL) {
        this.itemImageURL = itemImageURL;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "ItemImage{" +
                "itemImageID=" + itemImageID +
                ", itemID=" + itemID +
                ", itemImageURL='" + itemImageURL + '\'' +
                ", deleted=" + deleted +
                '}';
    }
}
